<template>
  <div class="login-container flx-center">
    <div class="login-box">
      <SwitchDark class="dark" />
      <div class="login-left">
        <img class="login-left-img" src="@/assets/images/login_left.png" alt="login" />
      </div>
      <div class="login-form">
        <div class="login-logo">
          <img class="login-icon" src="@/assets/images/logo.svg" alt="" />
          <h2 class="logo-text">Geeker-Admin</h2>
        </div>
        <LoginForm />
      </div>
      <div class="el-login-footer">
        <div style="margin: 0 auto; line-height: 40px">
          <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=13020802000240" style="display: inline-block; text-decoration: none; height: 20px; line-height: 20px"
            ><img src="" style="float: left" />
            <p style="float: left; height: 20px; line-height: 20px; margin: 0px 0px 0px 5px">冀公网安备 13020802000240号</p>
          </a>
          <a style="display: inline-block; text-decoration: none; height: 20px; line-height: 20px" href="https://beian.miit.gov.cn/" target="_blank">
            <p style="float: left; height: 20px; line-height: 20px; margin: 0px 0px 0px 5px">冀ICP备2022002215号-1</p>
          </a>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts" name="login">
import LoginForm from "./components/LoginForm.vue";
import SwitchDark from "@/components/SwitchDark/index.vue";
</script>

<style scoped lang="scss">
@import "./index.scss";
.el-login-footer {
  height: 40px;
  line-height: 40px;
  position: fixed;
  bottom: -10px;
  // width: 100%;
  text-align: center;
  font-family: Arial;
  font-size: 12px;
  letter-spacing: 1px;
  img {
    width: 20px;
  }
  a {
    height: 40px;
    line-height: 40px;
  }
}
</style>
